package com.sc.nft.admin.request;

import com.sc.nft.entity.vo.BatchEnterIntegrationShowListVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

@Data
public class AdminBatchEnterPointsRequest {

    @ApiModelProperty("是否添加")
    @NotNull(message = "是否添加不能为空")
    private Boolean isAdd;

    @ApiModelProperty("原因")
    @NotBlank(message = "原因不能为空")
    private String reason;

    @ApiModelProperty("用户数据信息")
    @NotEmpty(message = "用户数据信息不能为空")
    @Size(max = 500, message = "一次性不能超过500条数据")
    private List<BatchEnterIntegrationShowListVO> list;
}
